/*
Copyright (C) 2022-2024 Inspur Corp.

SPDX-License-Identifier: Apache-2.0
*/
package wsreg

import (
	"github.com/emicklei/go-restful"
	"icep/controller"
)

func RegisterObtainEvidenceWebService(ws *restful.WebService, controller *controller.IcepController) {
	ws.Route(ws.POST("/icep/evidence/obtain/web/create").To(controller.CreateWebPageFileEvidence))
	ws.Route(ws.POST("/icep/evidence/obtain/web/batch").To(controller.BatchWebPageFileEvidence))
	ws.Route(ws.POST("/icep/evidence/obtain/image/create").To(controller.CreateWebPagePictEvidence))
	ws.Route(ws.POST("/icep/evidence/obtain/image/batch").To(controller.BatchWebPagePictEvidence))
	ws.Route(ws.POST("/icep/evidence/obtain/video/create").To(controller.CreateVideoEvidence))
	ws.Route(ws.GET("/icep/evidence/obtain/query").To(controller.ObtainEvidenceList))
	ws.Route(ws.GET("/icep/evidence/obtain/detail").To(controller.ObtainEvidenceDetail))
}
